export default class Cluemanagement {
  static list (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/clue', 'get', params, axiosOption, httpOption);
  }
  static add (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/clue', 'post', params, axiosOption, httpOption);
  }
  static update (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/clue/update', 'post', params, axiosOption, httpOption);
  }
  static detail (sender, params, axiosOption, httpOption) {
    return sender.doUrl(`admin/clue/${params}`, 'get', axiosOption, httpOption);
  }
  static delete (sender, params, axiosOption, httpOption) {
    return sender.doUrl(`admin/clue/delete/${params}`, 'get', axiosOption, httpOption);
  }
  static deletes (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/clue/delete', 'post', params, axiosOption, httpOption);
  }
  static checkClueToOppo (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/clue/checkClueToOppo', 'get', params, axiosOption, httpOption);
  }
  static ExportFile (sender, params, fileName) {
    return sender.download('admin/clue/listExport', params, fileName);
  }
  static ExportTemplate (sender, params, fileName) {
    // return sender.doUrl('admin/clue/getClueExcel', 'get', params);
    return sender.download('admin/clue/getClueExcel', params, fileName);
  }
  static releaseNews (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/Dynamics/add', 'post', params, axiosOption, httpOption);
  }
  static dynamicList (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/Dynamics/getList', 'post', params, axiosOption, httpOption);
  }
  static dynamicDelete (sender, params) {
    return sender.doUrl('admin/Dynamics/updateClueDynamics/' + params.id + '', 'get');
  }
}
